<?php
class SP_Controller_Part
{
	private $vars=array();
	
	public function getVars()
	{
		return $this->vars;
	}
	
	protected function __set($name,$value)
	{
		$this->vars[$name]=$value;
	}
	
	protected function __get($name)
	{
		return $this->vars[$name];
	}
}